Conversation
Member
|
How did you run the container? You need to pass a number of flags to ensure HSA support in the container. |
jpsamaroo
approved these changes
Aug 30, 2020
| # Install AMDGPU.jl | ||
| RUN /root/julia-1.5.1/bin/julia -E "using Pkg; Pkg.add(\"AMDGPU\");" | ||
|
|
||
| VOLUME ["/root/.julia"] |
Member
There was a problem hiding this comment.
It would be better if we could run this as a non-privileged user, like gpuuser. You'd just have to make sure /dev/kfd and /dev/dri/* have the right perms so the user has RW on them.
Member
|
Here's how I invoke my local development container (with a similar Dockerfile): It may not actually require |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Initial attempt to write a Dockerfile for AMDGPU.jl, based on the latest Ubuntu ROCm image.
It seems to work (at least for the simple vector sum in the documentation), however, you have to ignore several error messages.
Unfortunately, the build fails with: